package com.mlnx.device.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mlnx.common.form.PageForm;
import com.mlnx.device.entity.SpoDevice;
import com.mlnx.device.pojo.dto.SpoDeviceDto;
import com.mlnx.device.pojo.form.SpoDeviceFilterForm;
import com.mlnx.device.pojo.form.SpoDeviceForm;

import java.util.List;

public interface SpoDeviceService extends IBaseService<SpoDevice> {

    void addSpoDevice(SpoDeviceForm spoDeviceForm,Integer userId);

    Page<SpoDeviceDto> list(PageForm pageForm, SpoDeviceFilterForm spoDeviceFilterForm);

    List<SpoDeviceDto> listOnlines(SpoDeviceFilterForm spoDeviceFilterForm);

    void updateSpoDevice(Integer id, SpoDeviceForm spoDeviceForm);

}
